package com.rm.zeyou.mapper;

import com.rm.zeyou.entity.UserInvite;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rm.zeyou.vo.response.Invitation;
import com.rm.zeyou.vo.response.UserList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户邀请表 Mapper 接口
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 17:23:41
 */
@Mapper
public interface UserInviteMapper extends BaseMapper<UserInvite> {
    List<Invitation> selectInvitationList();

    List<UserList> selectInviteUserList(@Param("userId") Long userId);

    List<Invitation> selectInvitationTechnicianList();

    List<UserList> selectInviteTechnicianList(@Param("userId")Long userId);
}
